package com.nuaa.ange.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @description
 * @author 玦离
 * @date 2023/1/4 14:42
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_star")
@ApiModel(value="Star对象", description="收藏")
public class Star implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "收藏id")
    private Integer starId;

    @ApiModelProperty(value = "文章id 关联t_article表")
    @TableField("article_Id")
    private String articleId;

    @ApiModelProperty(value = "用户id 关联t_user表")
    private Integer userId;

    @ApiModelProperty(value = "查看时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
